package com.mooc.dao.mapper;

import com.mooc.pojo.vo.Course;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CourseMapper {

    Course queryById(Integer id);

    List<Course> queryAllByLimit(@Param("page") int page, @Param("limit") int limit);

    List<Course> queryAll(Course Course);

    int insert(Course Course);

    int update(Course qfCourse);

    int deleteById(Integer id);
}
